//
//  NextViewController.m
//  navdemo
//
//  Created by douweichao on 15/7/7.
//  Copyright (c) 2015年 douweichao. All rights reserved.
//

#import "NextViewController.h"

@interface NextViewController ()

@end

@implementation NextViewController

- (id)init{
    if (self = [super init]) {
        
        self.title = @"第二个页面";
        self.view.backgroundColor = [UIColor yellowColor];
        self.navigationController.navigationBar.tintColor = [UIColor whiteColor];
    }
    return self;
    
}


- (UIStatusBarStyle)preferredStatusBarStyle{
    return UIStatusBarStyleLightContent;
}


- (void)viewWillDisappear:(BOOL)animated{
    [self.navigationController setNavigationBarHidden:YES animated:YES];
}


@end
